import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import {fileRoutingModule} from "./file-routing.module";
import {fileAddComponent} from "./file-list/edit/file-add.component";
import {fileViewEditComponent} from "./file-list/edit/file-edit.component";
import {fileListComponent} from "./file-list/file-list.component";
import {fileViewEdittoComponent} from "./file-list/edit/file-editto.component";

import {fileList1Component} from "./file-list/1/file-list.component";
import {fileAdd1Component} from "./file-list/1/file-add.component";
import {fileViewEdit1Component} from "./file-list/1/file-edit.component";
import {fileViewEditto1Component} from "./file-list/1/file-editto.component";

const COMPONENTS = [
  fileListComponent,
  fileList1Component
];
const COMPONENTS_NOROUNT = [
  fileAddComponent,
  fileViewEditComponent,
  fileViewEdittoComponent,

  fileAdd1Component,
  fileViewEdit1Component,
  fileViewEditto1Component
];

@NgModule({
  imports: [
    SharedModule,
    fileRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT
})
export class fileModule {

}
